import org.apache.ibatis.annotations.Param;
import pojo.User;

import java.util.List;
/**
 * @author Administrator
 */
public interface CompanionMapper {
    List<Integer> selectFriendsAccount(int account);


    int saveFrined(@Param("M_account") String M_account, @Param("Y_account") String Y_account);


    Integer containFriendShip(@Param("M_account") int M_account, @Param("Y_account") int Y_account);

    void deleteFriend(String account);
}
